<template>
	<view class="w-100 re h-100">
		<scroll-view class="scroll-view_H uni-scroll" scroll-y="true" @scrolltolower="lower" :lower-threshold="200">
			<List :list="food_list" type="food"></List>
			<view class="w-100 t-a font24 t-4 pb-1" v-if="is_loading && food_list.length>0">没有更多了</view> 
			<view class="w-100 t-a font24 t-3 pt-12 pb-1" v-else>暂无数据</view>
			<view class="w-100 h180"></view>
		</scroll-view>
		
	</view>
</template>

<script>
	import Mixin from "../../../../common/mixin.js"
	import List from "./list.vue"
	export default{
		mixins:[Mixin],
		components:{
			List,
		},
		data(){
			return{
				query:{
					pageSize:12,
					currentPage:1,
					payStatus:''
				},
				is_loading:true,
				food_list:[{title:"桌号：25"},{},,{},{},{}]
			}
		},
		methods:{
			
		}
	}
</script>

<style lang="scss" scoped>
	.scroll-view_H{
		position: absolute;
		top: 30rpx;
		left: 0;
		bottom: 0;
		right: 0;
		z-index: 9;
	}
</style>
